package com.jl.core.mapper;

import com.jl.model.User;
import com.jl.utils.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper extends MyMapper<User> {

    @Select("select * from user where phone=#{phone}")
    List<User> selectUserByPhone(@Param("phone") String phone);
}
